package com.smooth.site.sx.pc.company.enums;

public enum CompJiabanTypeEnums {
	feigongzuo(1,"非工作日"), 	 
	gzf(3,"非工作日&非工作时间"), 
	feishijian(2,"非工作时间"),
	;

	public Integer value;
	public String name;

	CompJiabanTypeEnums(int value, String name) {
		this.value = value;
		this.name = name;
	}

	public static CompJiabanTypeEnums getStatus(Integer value) {
		if (value != null) {
			CompJiabanTypeEnums[] otypes = CompJiabanTypeEnums.values();
			for (CompJiabanTypeEnums memberType : otypes) {
				if (value.equals(memberType.value)) {
					return memberType;
				}
			}
		}
		return null;
	}
}
